JFLAGS = -g
JC = javac
.SUFFIXES: .java .class

.java.class:
		$(JC) $(JFLAGS)	$*.java


SRCDIR = .
SOURCEDIR=$(SRCDIR)

#the source files belonging to the project
#These can be altered by Emacs JCD mode.
CLASSES = 	$(SOURCEDIR)/server/Server.java \
							$(SOURCEDIR)/server/MessageReader.java \
							$(SOURCEDIR)/server/Connect.java \
							$(SOURCEDIR)/client/Client.java \
							$(SOURCEDIR)/objects/FromAp.java \
							$(SOURCEDIR)/objects/ToPhone.java \
							$(SOURCEDIR)/objects/Mesures.java \
							$(SOURCEDIR)/objects/Point.java 

default: classes

classes: $(CLASSES:.java=.class)

clean:
	        $(RM) *.class
